

package com.yungu.swift.assets.passenger.service;

import com.yungu.swift.assets.passenger.model.dto.PassengerEmergencyMemberDto;
import com.yungu.swift.assets.passenger.model.param.AdminPassengerUuidPageParam;
import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.model.PageVo;
import com.yungu.swift.base.service.BaseService;


/**
 * Copyright © 厦门云谷互联信息有限公司 2016-2017 All Right Reserved
 * <p>
 * 乘客紧急人成员表
 *
 * @author Zerrion
 * @version 1.0.3-RELEASE
 * @since 2018-10-16 10:35:39
 */
public interface PassengerEmergencyMemberService extends BaseService<PassengerEmergencyMemberDto> {

    /**
     * 批量更新紧急联系成员状态
     *
     * @param emergencyUuid   紧急联系UUID
     * @param emergencyStatus 联系状态
     * @return AjaxList
     */
    ResponseData<Boolean> patchUpdateStatus(String emergencyUuid, Integer emergencyStatus);

    /**
     * 紧急联系人查询
     * @param passengerUuidPageParam
     * @return
     */
    ResponseData<PageVo<PassengerEmergencyMemberDto>> queryPage(AdminPassengerUuidPageParam passengerUuidPageParam);

    /**
     * 修改紧急联系人默认状态
     * @param passengerUuidPageParam
     * @return
     */
    ResponseData<Integer> updateIsDefault(AdminPassengerUuidPageParam passengerUuidPageParam);

}
